<html>

<head>
  <title>Insert/Edit Form Element FIELDSET</title>
  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
  <script type="text/javascript" src="../../../popups/popup.js"></script>

<script type="text/javascript">
function Init() {
	window.resizeTo(350,320);
  __dlg_translate("Forms");
	__dlg_init();
	var param = window.dialogArguments;
  document.getElementById("f_text").value = param["f_text"];
  document.getElementById("f_text").focus();
}

function onOK() {
	// pass data back to the calling window
  var param = new Object();
  param["f_text"] = document.getElementById("f_text").value;
	__dlg_close(param);
  return false;
}

function onCancel() {
	__dlg_close(null);
	return false;
}

</script>
</head>

<body class="dialog" onload="Init()">
  <div id="f_type" class="title">Form Element: FIELDSET</div>
  <form action="" method="get">
    <div class="fr">Legend:</div>
    <input type="text" name="text" id="f_text" />
    <p />
    <div id="buttons">
      <button type="button" name="ok" onclick="return onOK();">OK</button>
      <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
    </div>      
  </form>
</body>
</html>
